home *** CD-ROM | disk | FTP | other *** search
/ Agent Central Host Computer / Agent - Central Host Computer.iso / _SETUP.1 / configbuttons.sql < prev    next >
Text File  |  2000-05-12  |  1KB  |  27 lines

  1. /* RCSVER $Id: configbuttons.sql,v 1.2 1999-02-24 11:06:00-06 randy CURRENT $ */
  2. /* *************************************************************************
  3. *        Copyright (C) 1998, Agent Systems, Inc. All Rights Reserved.
  4. *
  5. * Name:        configbuttons.sql
  6. * Date:        12/28/1998
  7. * memo:        Randy Wood
  8. * Description:    Create the configbuttons table. This table contains the
  9. *        physical button characteristics for the OCU editor.
  10. * Changes:
  11. ************************************************************************* */
  12. CREATE TABLE configbuttons
  13. (
  14.     value        VARCHAR2(1),    /* Unique value (key) for this button */
  15.     label        VARCHAR2(30),    /* Label for the face of this key */
  16.     locx        NUMBER(38),    /* X location on scrren */
  17.     locy        NUMBER(38),    /* Y location on screen */
  18.     width        NUMBER(38),    /* Width of button in pixels */
  19.     height        NUMBER(38),    /* Height of button in pixels */
  20.                     /* Red/Green/Blue color components  */ 
  21.                     /*   for button background color */
  22.     bgcolor_r    NUMBER(3) CHECK (bgcolor_r BETWEEN 0 AND 255),
  23.     bgcolor_g    NUMBER(3) CHECK (bgcolor_g BETWEEN 0 AND 255),
  24.     bgcolor_b    NUMBER(3) CHECK (bgcolor_b BETWEEN 0 AND 255),
  25.     CONSTRAINT pk_configbuttons PRIMARY KEY (value)
  26. );
  27.